package com.yun.dao;

import com.yun.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface UserDao {

    User findUser(User user) throws Exception;

    void addUser(User user) throws Exception;

    void reSize(@Param("username") String username, @Param("formatSize") String formatSize) throws Exception;

    String getCountSize(String username) throws Exception;

    User findUserByUserName(String username);
}
